package cn.ds.assets.module.assets.controller.admin.dataQualityRuleSetValue.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.ds.assets.framework.common.pojo.PageParam;
import java.time.LocalDateTime;
import org.springframework.format.annotation.DateTimeFormat;

import static cn.ds.assets.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 数据质量规则设置值 Excel 导出 Request VO，参数和 BaseDataQualityRuleSetValuePageReqVO 是一致的")
@Data
public class BaseDataQualityRuleSetValueExportReqVO {

    @Schema(description = "主键id")
    private Long[] ids;

    @Schema(description = "值")
    private String value;

    @Schema(description = "项目id", example = "5520")
    private Long projectId;

    @Schema(description = "数据质量规则设置id", example = "400")
    private Long qualityRuleSetId;

    @Schema(description = "数据质量规则id", example = "2138")
    private Long qualityRuleId;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "条件")
    private String ruleCondition;

    @Schema(description = "单位")
    private String unit;

}
